Skip to content

Static images#3965

Merged
lewisgoddard merged 8 commits intomasterfrom
static-images
Feb 27, 2026
Merged

Static images#3965
lewisgoddard merged 8 commits intomasterfrom
static-images

Conversation

@RMcNeely
Copy link
Contributor

Fixes #2396

Have a static images folder

Instead of rebuilding images all the time, commit the optimized images to the images folder and make it trackable by git.

This is just the output of the images task run and committed, which I believe should be all we need to do because we do not fingerprint the images themselves.

This pull request is ready for review.

@lewisgoddard lewisgoddard self-assigned this Feb 23, 2026
lewisgoddard
lewisgoddard previously approved these changes Feb 27, 2026
@lewisgoddard
Copy link
Member

I didn't want things to break when new images are added, so the image build steps are back in but they don't overwrite existing ones. This only adds a second or two compared to not checking.

I also added a new command npm run build:images to rebuild all images if needed.

@lewisgoddard lewisgoddard enabled auto-merge (squash) February 27, 2026 23:01
@lewisgoddard lewisgoddard merged commit ddb84fb into master Feb 27, 2026
5 checks passed
@lewisgoddard lewisgoddard deleted the static-images branch February 27, 2026 23:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

PNG builds take over 4 minutes and could be done in repository.

2 participants